package com.YxyBackMange.Mapper.Sys;


import com.YxyBackMange.Entity.Sys.SysPower;
import com.YxyBackMange.Entity.Sys.SysRole;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


@Repository
@MapperScan
public interface SysRoleMapper extends Mapper<SysRole> {

    public List<SysRole> selectSysRoleByUserId(Integer userId);
    public List<SysPower> selectSysPowerByRoleId(Integer id);


}
